package com.iplant.base.po.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.HashMap;

@ApiModel(value = "iPlantRequestBody", description = "请求体")
public class iPlantRequestBody<T> extends HashMap<String, Object> {

    public iPlantRequestBody(){
        super();
    }
    @NotEmpty
    @NotNull
    @ApiModelProperty(value = "请求参数")
    private T data;

    public T getData() {
        return data;
    }
    public void setData(T data) {
        this.data = data;
    }
}
